
var a = 6

function feng () {
    $.ajax({
        url: 'http://localhost:8888/api/articles',
        data: {
            pagenum: 1,
            pagesize: a
            
        },
    
        success: function (res) {
            console.log(res);
            var xinwen = template('liebiao', res);
            $('.kr_news_list').html(xinwen);
        }
    
    })
}
feng();

$('.kr_more').on('click',function () {
    a +=6;
    feng();
})
// kr_more